<?php
	$tabs = array('index' => '', 'set' => '', 'broker' => '', 'brokeradd' => '', 'brokerinfo' => '', 'add' => '');
	$tabs[$this->router->fetch_method()] = 'class="current"';
?>
<ul class="cc">
	<li <?php echo $tabs['index']; ?>><a href="<?php echo site_url('manage/agency/index'); ?>">基本信息</a></li>
	<?php //if($this->agency) { ?>
	<li <?php echo $tabs['set']; ?>><a href="<?php echo site_url('manage/agency/set'); ?>">分店管理</a></li>
	<?php //} if($this->agencys) { ?>
	<!--
	<li <?php echo $tabs['broker']; ?>><a href="<?php echo site_url('manage/agency/brokerr'); ?>">经纪人列表</a></li>
	<li <?php echo $tabs['brokeradd']; ?>><a href="<?php echo site_url('manage/agency/brokeradd'); ?>">经纪人添加</a></li>
	<?php //} if($this->router->fetch_method() == 'brokerinfo') { ?>
	<li <?php echo $tabs['brokerinfo']; ?>><a href="<?php echo site_url('manage/agency/brokerinfo?userid=' . $this->uid); ?>">经纪人详情</a></li>
	-->
	<?php //} ?>
	<li <?php echo $tabs['add']; ?>><a href="<?php echo site_url('manage/agency/add'); ?>">添加分店</a></li>
</ul>